package com.wanxi.method;

public class MaxInt {
    public static void main(String[] args) {
        int a = 10;
        int b = 11;
        int max = maxInt(a, b);
        System.out.println("最大值为:" + max);
        for (int i = 0; i < 1; i++) {
            for (int j = 0; j < 44; j++) {
//                break;
//                continue;
                return;
//                System.out.println("aa");
            }
        }
        System.out.println("aaa");
    }

    private static int maxInt(int a, int b) {
        aa();
        return a > b ? a : b;
    }

    public static long aa() {
        System.out.println("aa");
//        return 后面跟返回值，必须对应返回值类型
        return 0;
    }
}
